TNMS Controller Client communication driver

 

TNMS Controller Client communication driver is the driver to communicate with invert of TNMS Controller.

 

1. Read Settings

 

<Figure 1> is read setting example of TNMS_Client communication driver.

<Figure 1>  Read setting example of TNMS_Client communication driver

 

Device part of  <Figure 1> input Device type(TCP/IP), IP address of PLC(192.168.1.10), service port of TCP/IP ( 12001 ),respectively, according to setting of server.

In protocol option part, you can set the IP address( default = 192.168.1.46 ) of client system.

 

 

TNMS Controller Client communication driver read schedule

TNMS Controller Client communication driver's read schedule input 'READ' and device ID one line.

 

Read schedule example)

READ,     18,

 

 

The TNMS Controller Client communication driver periodically sends a connection request packet and does not store it separately in memory because it receives only the request response.

 

 

2. Write settings

You can set TNMS system by using 'write settings'. 

 

Digital Write

Digital write and analog write have the same setting parameters except output value. 

 

Analog Write 

Analog write setting parameters are as follows:

1) PORT             port no. (0 ~ 255)

2) STATION        station number of controller.

3) ADDRESS       not used.

4) Extra1            error location(6digit ), error type(3digit ), error grade(1digit ), error code number(5digit ) Input by dividing by dots(.).

5) Extra2            not used.

6) Value            1 = failure alarm, 0 = clear alarm.

 

Write example 1)

PORT : 0   STATION : 18   ADDRESS : 0000  EXTRA1 : MODULE.UPS.2.12345  EXTRA2 : 0 If this is set and analog output is made, the TNMS server connected to port 0 will be faulty.

Generate failure alarm (value of 1) or disable (failure) of position = MODULE, fault type = UPS, fault class = 2, fault code number = 12345 (Output value of 0).<see Figure 3>

 

<Figure 3> Example of TNMS Controller Client write settings.